package com.ycp.erp.role.model.bean;

import com.one.common.utils.StringUtils;

import java.io.Serializable;

/**
 * Class Des:
 * Created by bjh on 2021/9/14.
 */
public class Role implements Serializable {
    private String name;
    private String rolePhone;
    private boolean isSelect;

    public boolean isSelect() {
        return isSelect;
    }

    public void setSelect(boolean select) {
        isSelect = select;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getRolePhone() {
        return rolePhone;
    }

    public void setRolePhone(String rolePhone) {
        this.rolePhone = rolePhone;
    }
    public String getFirstName(){
        return StringUtils.isBlank(name)?"":name.substring(0,1);
    }
}
